<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use Spatie\Permission\Models\Role;

class RoleSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $rows = [
            'name' => 'superadmin',
            'title' => '超级管理员',
            'guard_name' => 'sanctum'
        ];
        Role::create($rows);
    }
}
